<?php


namespace app\api\model;


use think\Model;

class Address extends Model
{
     /**
      * 关联省市县表
      *
      */
     public function region()
     {
         return $this->hasOne('region', 'id', 'province_id');
     }
}